﻿@using Cloud.Entity;
@model List<Cloud.Dto.RoleDto>
@{
    Layout = "~/Views/Shared/InitPagedInputControls.cshtml";
}
<table class="table  table-bordered table-hover tableFocus center">

    <thead>
        <tr>
            <th>Id</th>
            <th>角色名称</th>
            <th>操作</th>


        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {

            <tr>
                <td>@item.RoleId</td>
                <td>@item.RoleName</td>
                <td>
                    <span class="btn btn-xs  btn-info popupEdit" title="编辑操作" call-type="edit" call-url="@Url.Action("Edit",new { id=item.RoleId})" callback-url="@Url.Action("PagedList")">
                        <i class="fa fa-pencil-square-o"></i>编辑
                    </span>
                    <span class="btn btn-xs  btn-danger popupConfirm" title="确定要删除吗?" call-url="@Url.Action("Delete",new { id=item.RoleId})" callback-url="@Url.Action("PagedList")">
                        <i class="fa fa-trash-o"></i>删除
                    </span>
                    <span class="btn btn-xs  btn-warning popupEdit" title="授权操作" call-type="noRefresh" call-url="@Url.Action("AuthorizationView",new { id=item.RoleId})" callback-url="">
                        <i class="fa fa-key"></i>授权
                    </span>
                </td>
            </tr>
        }
    </tbody>

</table>

